#pragma once
#include <stdlib.h>

#define SAFE_DELETE(p)	if (p) { delete p; p = nullptr; }